package com.example.blog.dto.trivia;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

@Data
public class AdminSelectTriviaDto {
    private String condition;
    @Min( value = 1,message = "下标错误" )
    @NotNull(message = "下标不能为空")
    private Integer index;//第几页
    private Integer page;//每页显示数
    private String dateTime; //发表日期
}
